using System;
using System.BusinessObjects.Data;

namespace Blazing.BusinessObjects.Tagging
{
    [Serializable]
    public class Tag : DataObject<Tag>
    {

        #region Properties
        public virtual int ID
        {
            get { return GetValue<int>("ID"); }
            set
            {
                BeginEdit();
                SetValue("ID", value);
            }
        }

        public virtual string Name
        {
            get { return GetValue<string>("Name"); }
            set
            {
                BeginEdit();
                SetValue("Name", value);
            }
        }

        public virtual string Slug
        {
            get { return GetValue<string>("Slug"); }
            set
            {
                BeginEdit();
                SetValue("Slug", value);
            }
        }

        public virtual DateTime RowStamp
        {
            get { return GetValue<DateTime>("RowStamp"); }
            set
            {
                SetValue("RowStamp", value);
            }
        }
        #endregion
    }
}
